package com.sl.biz.modular.cdc.dao.domain.entity;


import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sl.common.pojo.CommonOrgEntity;
import jakarta.persistence.Entity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("cdc_config")
@Entity(name = "cdc_config")
public class CdcConfigDO extends CommonOrgEntity {

    private String groupId;

    private String cdcCode;

    private String cdcName;

    @TableField(insertStrategy = FieldStrategy.IGNORED, updateStrategy = FieldStrategy.IGNORED)
    private String sourceDsId;

    @TableField(insertStrategy = FieldStrategy.IGNORED, updateStrategy = FieldStrategy.IGNORED)
    private String targetDsId;

    private String description;

    private String status;

    /**
     * 停用标记[1:停用,0:启用]
     */
    private Integer disableFlag;
}
